package com.cskaoyan.shopping.service.impl;

import com.cskaoyan.shopping.dal.persistence.PanelContentMapper;
import com.cskaoyan.shopping.dto.PanelContentDto;
import com.cskaoyan.shopping.service.NavigationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wuwen
 * @since 2022/10/25
 * 17:39
 */
@Service
public class NavigationServiceImpl implements NavigationService {
    @Autowired
    PanelContentMapper panelContentMapper;
    @Override
    public List<PanelContentDto> search() {
        List<PanelContentDto> panelContentDtos = panelContentMapper.selectpanelFromContent();
        return panelContentDtos;
    }
}

